﻿using System;

namespace smp.ButterflyCakes.Models.ViewModels.Schedule
{
    public class ScheduleListItem
    {
        public DateTime Date { get; set; }
        public Status OrderStatus { get; set; }
        public string Description { get; set; }

        public bool IsConfirmed
        {
            get
            {
                return OrderStatus == Status.DepositPaid || OrderStatus == Status.PaidInFull ||
                       OrderStatus == Status.Finished || OrderStatus == Status.Delivered;
            }
        }
    }
}
